package com.bossYang.myBatisTest;

import com.bossYang.myBatisTest.bean.TableEntity;
import com.bossYang.myBatisTest.util.Excel;

import java.util.Scanner;


public class MainApplication {
	public static void main(String[] args) {
		while(true) {
			Excel excel = new Excel();
			Scanner scanner = new Scanner(System.in);
			System.err.println("请输入Excel的路径：");
			String excelPath = scanner.nextLine();
			TableEntity tEntity = excel.readExcel(excelPath);
			if(tEntity==null) {
				continue;
			}
			excel.convertSQL(tEntity);
		}
	}
}

